package com.pfzhang.generics;

class Wrapper{
	private Object data;

	public Wrapper(Object data){
		this.data = data;
	}
	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
}

public class NoGenericsDemo {

	public static void main(String[] args) {
		Wrapper w1 = new Wrapper("0");
		Object o1 = (String)w1.getData();
		System.out.println(o1);
	}
}
